home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
True Legends Of Adult Cinema: The Modern Era
/
True Legends of Adult Cinema - The Modern Era.iso
/
mac
/
ERA
/
MODERA.INF
< prev
next >
Wrap
Text File
|
1994-06-23
|
3KB
|
93 lines
;;**************************************************
;; Install of the Modern Era software for windows
;;**************************************************
DefineVariables
Text [CompanyName] := VCA Interactive
Text [ProductName] := Modern Era
Text [TopLine] := " INSTALLING [ProductName] "
Text [ExpressSetupDescription] := Install Modern Era
Text [LogoBitMap] := VCA.BMP
Text [ReadFile] := README.DOC
Text [ReadCmdLine] := write.exe
Text [IconFile] := VCA.ICO
Text [IconPath1]
Text [IconPath2]
Text [ProgFile] := Modera.EXE
Text [ProgPath]
EndDefineVariables
;; Setup logo and screen
SetDefaultBitmap off
LoadBitMap 1 [LogoBitMap]
ShowBitMap 1 @xy(1,1)
SetBackgroundColor 0 0 255 0 0 64 TopToBottom
ShowWindow Maximized
Dialog
Installation of [ProductName] is completely noninvasive.
It will consist only of creating new icon and a
program group in you program manager.
Please press OK to procede with [ProductName] installation.
EndDialog
;;**************************************************
;;Find the files for the program and icons
;;**************************************************
[IconPath1] := FullPathTo [IconFile] Search AllFixed
[ProgPath] := FullPathTo [ProgFile] Search AllFixed
;;**************************************************
;; Create the windows program group.
;;**************************************************
ProgramManagerDDe
CreateGroup([CompanyName])
ReplaceItem([CompanyName])
AddItem([ProgPath],[ProductName],[IconPath1])
;; AddItem([ReadCmdLine],[ReadFile],[IconPath2])
EndProgramManagerDDE
;; Exit dialog box and messages
Dialog
[ProductName] installation is complete.
Enjoy!
EndDialog
Procedure DDENonFatalErrorTrap
;; Purpose of DDENonFatalErrorTrap:
;; If a procedure with this name is present in the script and a non-fatal
;; Program Manager DDE error occurs, then this procedure will be executed.
;;
;; Possible Text Error Codes Are:
;; ddeExec%s failed (NOTE: the "%s" is replaced by error types)
;; ddeInitiate failed
;; pmAddItem failed
;; pmClose failed
;; pmCreateGroup failed
;;
;; To trap a DDENonFatalError and respond to it, use the following code
;; [Number1] := PositionOf "PMAddItem" in DDENonFatalError
;; If [Number1] > 0
;; Dialog
;; NonFatal error in AddItem occurred
;; Error Text : DDENonFatalError
;; EndDialog
EndProcedure
EndScript